
package net.swa.dewei.beans.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/***
 * 得威生活图片信息实体类
 * 暂时不使用
 * @author dawei
 *
 */
@Entity
@Table(name = "t_life_image")
public class LifeImage
{
    //PK
    private Long id;

    private Long fid;

    /**图片，可以为多幅图片，存数组逗号隔开，长度要设置很大2000**/
    private String imageUrl;

    /**创建时间**/
    private String crateDate;

    /**更新时间**/
    private String updateDate;

    /**排序**/
    private Integer sort;

    @GenericGenerator(name = "generator", strategy = "native")
    @Id
    @GeneratedValue(generator = "generator")
    @Column(name = "id", unique = true, nullable = false)
    public Long getId()
    {
        return id;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public String getImageUrl()
    {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl)
    {
        this.imageUrl = imageUrl;
    }

    public String getCrateDate()
    {
        return crateDate;
    }

    public void setCrateDate(String crateDate)
    {
        this.crateDate = crateDate;
    }

    public String getUpdateDate()
    {
        return updateDate;
    }

    public void setUpdateDate(String updateDate)
    {
        this.updateDate = updateDate;
    }

    public Integer getSort()
    {
        return sort;
    }

    public void setSort(Integer sort)
    {
        this.sort = sort;
    }

    public Long getFid()
    {
        return fid;
    }

    public void setFid(Long fid)
    {
        this.fid = fid;
    }

}
